#include <iostream>
using namespace std;
int main()
{
	int a[6] = {3, 5, 1, 9, 7, 0};
	int *iptr = a;
	for (int i=0; i<5; i++)
	{
		cout << a[i] << iptr[i] << *(iptr+i) << *(a+i) << endl;
	}
	return 0;
}
